home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
misc
/
charmap
/
source
/
cmap.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-11-30
|
925b
|
28 lines
/******************************************************************
** cmap.h : Datatypes and constants used by the programm **
** **
** Special Requirements: WorkBench 2.0, version 36 or above **
******************************************************************/
#ifndef CMAP_H
#define CMAP_H
/* Some constant definitions */
#define MIN_VERSION 36L
#define CHARMAP_VERSION "1.2"
/* To init the charset, depending how many chars are defined in a font: */
#define Init_charset(textfont) CharsetNum=(textfont->tf_LoChar>=32?2:1);
/* To get access easily to StringInfo struct: */
#define sti(gad) ((struct StringInfo *)gad->SpecialInfo)
/* Different values, to handle the recessed box while pressing lmb: */
#define KEYB_CONTROL -1
#define NOT_PRESSED 0
#define PRESSED 1
#define OUTSIDE_AREA 2
#define EVT_HOTKEY 1L
#endif